package com.woniu.airent.mapper;

import com.woniu.airent.entity.ReportImg;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReportImgMapper {
    int deleteByPrimaryKey(Integer imgId);

    int insert(ReportImg record);

    ReportImg selectByPrimaryKey(Integer imgId);

    List<ReportImg> selectAll();

    int updateByPrimaryKey(ReportImg record);

    Integer insertReportImgByHouseNumber(@Param("houseNumber") String houseNumber, @Param("path") String path);
}
